//引入express
const express = require('express')
//引入router,设置路由,路由需要调用
const route = express.Router()
//登录需要用到数据库
const adminModel = require('../db/model/adminModel')
//存入数据库的管理员是加密的,需要加密模块
const md5 = require('md5')

//登录路由
route.post('/login',(req,res)=>{
  const {
    adminName ,password
  } = req.query
})